export const MENU_LISTS = [
  {
    fid: 1,
    title: '项目管理',
    url: '/project/list',
    icon: 'icon-xiangmu'
  },
  {
    fid: 2,
    title: '样本管理',
    url: '/sample/list',
    icon: 'icon-yangben'
  },
  {
    fid: 2,
    title: '系统管理',
    enTitle: 'System',
    url: '/role/list',
    icon: 'icon-jiaoseguanli',
    children: [
      { fid: 25, icon: 'icon-jiaoseguanli', title: '角色管理', url: '/system/role/list' },
      { fid: 26, icon: 'icon-jiaoseguanli', title: '账户管理', url: '/system/account/list' }
    ]
  }
]

export const PAGE_CODE_LIST = ['001', '001001', '001002', '002', '002001', '003', '003001', '004', '004001', '005', '005001']

// 权限数据列表
export const PERMISSION_LIST = [
  {
    resourceId: 1,
    parentId: 0,
    fname: '启动实验',
    code: '001',
    type: 'PAGE',
    url: '/experiment/start',
    checked: false,
    children: [
      {
        resourceId: 2,
        parentId: 1,
        fname: '仅查看',
        code: '001000',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 3,
        parentId: 1,
        fname: '启动',
        code: '001001',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 4,
        parentId: 1,
        fname: '暂停',
        code: '001002',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 5,
        parentId: 1,
        fname: '继续',
        code: '001003',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 6,
        parentId: 1,
        fname: '结束',
        code: '001004',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 7,
        parentId: 1,
        fname: '模拟运行',
        code: '001005',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 8,
        parentId: 1,
        fname: '日志下载',
        code: '001006',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 9,
        parentId: 1,
        fname: '运行脚本下载',
        code: '001007',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 10,
        parentId: 1,
        fname: '实验结果下载',
        code: '001008',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 11,
        parentId: 1,
        fname: '查看日志',
        code: '001009',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      }
    ]
  },
  {
    resourceId: 12,
    parentId: 0,
    fname: '账户管理',
    code: '002',
    type: 'PAGE',
    url: '/account/list',
    checked: false,
    children: [
      {
        resourceId: 13,
        parentId: 12,
        fname: '仅查看',
        code: '002000',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 14,
        parentId: 12,
        fname: '新增账户',
        code: '002001',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 15,
        parentId: 12,
        fname: '编辑账户',
        code: '002002',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 16,
        parentId: 12,
        fname: '修改密码',
        code: '002003',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      },
      {
        resourceId: 17,
        parentId: 12,
        fname: '删除',
        code: '002004',
        type: 'COMPONENT',
        url: null,
        checked: false,
        children: null
      }
    ]
  },
  {
    resourceId: 18,
    parentId: 0,
    fname: '日志监控',
    code: '003',
    type: 'PAGE',
    url: '/logMonitoring/list',
    checked: false,
    children: null
  },
  {
    resourceId: 19,
    parentId: 0,
    fname: '设备操作',
    code: '004',
    type: 'PAGE',
    url: '/equipment/index',
    checked: false,
    children: null
  }
]
